﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Diagnostics;
using RiskMan.Config;

namespace RiskMan.Views.AboutFrom
{
    /// <summary>
    /// Логика взаимодействия для About.xaml
    /// </summary>
    public partial class About : Window
    {

        public About()
        {
            InitializeComponent();
            label3.Content = "v " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
            textBox1.Text = Cfg.GetID() + Cfg.GetMacAddress();
        }

        private void label5_MouseMove(object sender, MouseEventArgs e)
        {

        }

        private void label5_MouseWheel(object sender, MouseWheelEventArgs e)
        {

        }

        /// <summary>
        /// http://rbkm.ru
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void label5_MouseUp(object sender, MouseButtonEventArgs e)
        {
            Process.Start("http://rbkm.ru");
        }

        /// <summary>
        /// http://rbkm-level.reformal.ru/
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void label6_MouseUp(object sender, MouseButtonEventArgs e)
        {
            Process.Start("http://rbkm-level.reformal.ru/");
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {

        }

    }
}
